#ifndef REAL_H
#define REAL_H
#include "Expression.h"

namespace TreeExpression {

class Real : public Expression_CRTP<Real> {
	public:
		Real(double _data);
		Real(const Real&);
		~Real();
		
		virtual AutoPointer<Expression> eval(CopyPointer<Context>&);

		long double getData() const;
		virtual std::string getHash() const;
		virtual std::string toString() const;
		
	private:
		long double data;
};

}

using TreeExpression::Real;

#endif
